package com.etu.jsonservices.exception;

import com.etu.jsonservices.util.ResponseCodes;

@SuppressWarnings("serial")
public class MalformedJSONRequestException extends InternalServerException {

	public MalformedJSONRequestException(String message, String serviceName) {
		super(serviceName, message);
	}

	@Override
	public String getErrorCode() {
		return ResponseCodes.BASE_ERROR_CODES.ERROR_400.toString();
	}

}
